<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="icon" href="#(ctx)/assets/images/favicon.ico" />
    <title>CESIUM场景预览</title>
    <link rel="stylesheet" href="#(ctx)/assets/plugins/Cesium/Widgets/widgets.css"/>
    <link rel="stylesheet" href="#(ctx)/assets/libs/layui/css/layui.css"/>
    <link rel="stylesheet" href="#(ctx)/assets/font-awesome-4.3.0/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="#(ctx)/assets/module/admin.css?v=315" />
   	<link rel="stylesheet" href="#(ctx)/assets/plugins/zTree_v3/css/metroStyle/metroStyle.css" />
    <!--[if lt IE 9]>
    <script src="#(ctx)/assets/libs/html5shiv/html5shiv.min.js"></script>
    <script src="#(ctx)/assets/libs/respond/respond.min.js"></script>
    <![endif]-->
</head>

<body class="layui-layout-body">
    <!-- 头部 -->
    <div class="layui-layout">
		<div class="layui-body" style="background:#2b2b2b;left: 0px;"><div id="cesiumContainer" style="height: 100%;"></div></div>
	</div>

<script type="text/html" id="modelBuildingMenuScript">
      <div class="layui-card">
        <div class="layui-card-header">楼层索引</div>
        <div class="layui-card-body" id="floorsIndex"><br>
			 <div class="layui-form-item"><button type="button" class="layui-btn" id="homeBtn">默认视角</button></div>
			 <div class="layui-form-item"><button type="button" class="layui-btn" id="openFloorsBtn">楼层展开</button></div>
			 <div class="layui-form-item"><button type="button" class="layui-btn" id="closeFloorsBtn">楼层关闭</button></div>
			 <div class="layui-form-item"><button type="button" class="layui-btn" id="exitFloorsBtn">退出楼层</button></div>
<table>
	<tr>
		<td><input type="checkbox" />&nbsp&nbsp视频融合点1&nbsp&nbsp<button type="button" class="layui-btn layui-btn-xs" >原始视频</button></td>
	</tr>
	<tr>
		<td><input type="checkbox" />&nbsp&nbsp视频融合点2</td>
	</tr>
	<tr>
		<td><input type="checkbox" />&nbsp&nbsp视频融合点3</td>
	</tr>
</table>
        </div>
      </div>	
</script>	
    <!-- js部分 -->
    <script type="text/javascript" src="#(ctx)/assets/js/ajax.js"></script>
    <script type="text/javascript" src="#(ctx)/assets/libs/layui/layui.js"></script>
	<script type="text/javascript"  src="#(ctx)/assets/plugins/Cesium/Cesium.js"></script>
	<script type="text/javascript" src="#(ctx)/assets/plugins/turf/turf.min.js"></script>
	<!--底层扩展脚本 -->
	<script type="text/javascript" src="#(ctx)/assets/plugins/VFGlobe/VFG.js"></script>
	<!--基于后台 二次开发接口 -->
	<script type="text/javascript" src="#(ctx)/assets/plugins/VFGlobe/VFGMap.js"></script>   
	<!--场景 -->
    <script type="text/javascript" src="#(ctx)/assets/js/v/preview.js"></script> 
    <script type="text/javascript" src="#(ctx)/assets/js/v/api.js"></script> 
    <script type="text/javascript" src="#(ctx)/assets/js/v/menu.js"></script>
    
    
    
    
    
    
    <script type="text/javascript">
	    var $;
	    var layer;
	    var element;
	    var config ;
	    var index ;
	    var admin ;
	    var laytpl ;
	    var treeSelect;
	    layui.config({
	        version: true,   // 更新组件缓存，设为true不缓存，也可以设一个固定值
	        base: 'assets/module/'
	    }).extend({
	        formSelects: 'formSelects/formSelects-v4',
	        treetable: 'treetable-lay/treetable',
	        dropdown: 'dropdown/dropdown',
	        notice: 'notice/notice',
	        step: 'step-lay/step',
	        dtree: 'dtree/dtree',
	        citypicker: 'city-picker/city-picker',
	        tableSelect: 'tableSelect/tableSelect',
	        Cropper: 'Cropper/Cropper',
	        zTree: 'zTree/zTree',
	        introJs: 'introJs/introJs',
	        fileChoose: 'fileChoose/fileChoose',
	        tagsInput: 'tagsInput/tagsInput',
	        CKEDITOR: 'ckeditor/ckeditor',
	        Split: 'Split/Split',
	        treeSelect: '/treeSelect/treeSelect',
	        cascader: 'cascader/cascader',
	        tinymce: '../../assets/plugins/tinymce/tinymce'
	    }).use(['config', 'layer', 'element', 'index', 'admin', 'form', 'laytpl'], function () {
	        $ = layui.jquery;
	        layer = layui.layer;
	        element = layui.element;
	        config = layui.config;
	        index = layui.index;
	        form = layui.form;
	        admin = layui.admin;
	        laytpl = layui.laytpl;
	        // 加载侧边栏
		    preview=new Preview({
		    	ctx:'#(ctx)',
		    	sceneId:'#(sceneId)',
		    	container:'cesiumContainer'
		    });
	    });

	</script>
</body>

</html>